<template>
  <div class="navFooter">
    <div class="footer">
			<div class="con">
        <li><router-link :to="{path:'/about',query:{type:3}}" :class="{current:type==3}">关于优推</router-link></li>
				<i>0571-88228812</i>
			</div>
		<p style="color:#7a7a7a">浙ICP备18001591号-1  杭州明楚科技有限公司</p>
	</div>
  </div>
</template>
<script>
export default {
  name: "navFooter",
  data() {
    return {
      type: 3
    };
  },
  watch: {
    $route(to, from) {
      this.type = this.$route.query.type;
      if (from.name == "index" && to.query.type == "3") {
        window.scrollTo(0, 0);
      }
    }
  }
};
</script>
